#region Summary

// 
// Owner : JackieHan 
// 
// Solution : ResearchTest 
// 
// Project : TestSerializer
// 
// File : TextAttributeClass.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : 
// 
// History : 
//			2011-09-15 16:32:52	    Create 
// 

#endregion

#region Using

using System;
using System.Collections.Generic;
using System.Xml.Serialization;

#endregion

namespace TestSerializer
{
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public class TextAttributeClass
    {

        private int idField;
        private string nameField;
        private string[] textField;
        [XmlAttribute]
        public int id
        {
            get
            {
                return this.idField;
            }
            set
            {
                this.idField = value;
            }
        }
        [XmlAttribute]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        [System.Xml.Serialization.XmlTextAttribute()]
        public string[] Text
        {
            get
            {
                return this.textField;
            }
            set
            {
                this.textField = value;
            }
        }
    }

}